import { postRequest, getRequest } from '/@/lib/axios';

export const rolemembersApi = {
    // 用户列表
    getUser:(param)=>{
        return getRequest('access/rolemembers/memberNotInRole', param);
    },
    getPost:(param)=>{
        return getRequest('access/rolemembers/memberPostNotInRole', param);
    },
  getFetch: (param) => {
    return getRequest('/access/rolemembers/memberInRole', param);
  },
  add: (param) => {
    return postRequest('/access/rolemembers/add', param);
  },

  updateVisible:(param)=>{
    return getRequest('/access/permissions/updateVisible', param);
  },
  delete:(param)=>{
    return getRequest('/access/rolemembers/delete', param);
  }
};
